package com.hs.gs.domain;

import javax.persistence.ManyToOne;
import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import java.util.Date;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.springframework.format.annotation.DateTimeFormat;

@RooJavaBean
@RooToString
@RooEntity
public class Evaluation {

    @ManyToOne
    private Department department;

    @ManyToOne
    private Employee evaluator;

    @Temporal(TemporalType.TIMESTAMP)
    @DateTimeFormat(style = "L-")
    private Date evaluationTime;
}
